import fetch from '@/utils/fetch'

export function getList(query) {
  return fetch({
    url: '/alarmshistory/getList',
    method: 'post',
    params: query
  })
}

export function getDomains(query) {
  return fetch({
    url: '/capacity/getDomains',
    method: 'get',
    params: query
  })
}
